﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenSda.Agilcont.Common.Business.Exceptions
{
    public sealed class EjercicioContableNotFoundException : Exception
    {
        public EjercicioContableNotFoundException()
            : base(string.Format("The EjercicioContable doesn't exist in the DataBase"))
        { }
    }

    public sealed class EjercicioContableCannotBeNullException : Exception
    {
        public EjercicioContableCannotBeNullException()
            : base(string.Format("EjercicioContable cannot be null"))
        { }
    }

    public sealed class EjercicioContableCodeInUseException : Exception
    {
        public EjercicioContableCodeInUseException()
            : base(string.Format("The EjercicioContable Code is already in use"))
        { }
    }

    public sealed class EjercicioContableNameInUseException : Exception
    {
        public EjercicioContableNameInUseException()
            : base(string.Format("The EjercicioContable Name is already in use"))
        { }
    }
}
